package com.ouheng.shop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.ouheng.shop.dao.LebeProductPropertyDao;
import com.ouheng.shop.domain.LebeProductPropertyDO;
import com.ouheng.shop.service.LebeProductPropertyService;



@Service
public class LebeProductPropertyServiceImpl implements LebeProductPropertyService {
	@Autowired
	private LebeProductPropertyDao lebeProductPropertyDao;
	
	@Override
	public LebeProductPropertyDO get(Long id){
		return lebeProductPropertyDao.get(id);
	}
	
	@Override
	public List<LebeProductPropertyDO> list(Map<String, Object> map){
		return lebeProductPropertyDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return lebeProductPropertyDao.count(map);
	}
	
	@Override
	public int save(LebeProductPropertyDO lebeProductProperty){
		return lebeProductPropertyDao.save(lebeProductProperty);
	}
	
	@Override
	public int update(LebeProductPropertyDO lebeProductProperty){
		return lebeProductPropertyDao.update(lebeProductProperty);
	}
	
	@Override
	public int remove(Long id){
		return lebeProductPropertyDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return lebeProductPropertyDao.batchRemove(ids);
	}
	
}
